package com.syslog.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.syslog.entity.Syslog;


public interface ISyslogService {
	
	public void saveOrUpdate(Syslog syslog);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public Syslog findOne(Long id);
	public List<Syslog> findAll();
	//动态条件查询
	public Page<Syslog> findPage(Specification<Syslog> spec, Pageable pageable);

}
